﻿<controls:MetroWindow
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
    xmlns:guiPart="clr-namespace:ParaBellum.gui_part"
    xmlns:pages2="clr-namespace:ParaBellum.gui_part.gui.pages"
    x:Name="MainWindow1" x:Class="ParaBellum.MainWindow"
    Title="Mobile Worker" AllowDrop="True" Icon="pack://siteoforigin:,,,/Resources/ico.ico"
    Closing="MainWindow1_Closing" MinWidth="937" MinHeight="700" Height="700" Width="937">
    <controls:MetroWindow.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Colours.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Fonts.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/Blue.xaml" />
                <ResourceDictionary
                    Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/BaseLight.xaml" />
                <ResourceDictionary
                    Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.AnimatedSingleRowTabControl.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </controls:MetroWindow.Resources>
    <controls:MetroWindow.WindowCommands>
        <controls:WindowCommands>
            <Button Content="{x:Static guiPart:Localization.settings}" />
        </controls:WindowCommands>
    </controls:MetroWindow.WindowCommands>
    <Grid>
        <TabControl x:Name="PageControl">
            <TabItem x:Name="MainTab">
                <Grid>
                    <pages2:MainPage x:Name="MainPage" />
                </Grid>
            </TabItem>
            <TabItem x:Name="OrderTab">
                <Grid>
                    <pages2:OrderPage x:Name="OrderPage" />
                </Grid>
            </TabItem>
        </TabControl>
        <controls:ProgressRing x:Name="Wait" IsActive="False" />
    </Grid>
</controls:MetroWindow>